package com.zerui.manager.openplan.convertor;

import com.zerui.manager.openplan.OpenPlanImplement;
import com.zerui.manager.openplan.entity.OpenPlanImplementDo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author wh
 * @create_time 2023-08-23 15:28
 */
@Mapper
public interface OpenPlanImplementConvert {

	OpenPlanImplementConvert INSTANCE = Mappers.getMapper(OpenPlanImplementConvert.class);

	OpenPlanImplement convertOpenPlanImplementDoToOpenPlanImplement(OpenPlanImplementDo openPlanImplementDo);

	List<OpenPlanImplementDo> convertOpenPlanImplementToOpenPlanImplementDo(List<OpenPlanImplement> openPlanImplements);

	List<OpenPlanImplement> convertOpenPlanImplementDoToOpenPlanImplement(List<OpenPlanImplementDo> openPlanImplementDos);
}
